package com.dhcc.bpm.modules.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;

/**
 * @ClassName Plupload
 * @Description  公共模块表实体类
 * @Author xiafayu
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
@Data
@TableName("opc_plupload")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Plupload对象", description = "公共模块表")
public class Plupload extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 文件真实名称
	*/
		@ApiModelProperty(value = "文件真实名称")
		private String fileRealname;
	/**
	* 文件全路径
	*/
		@ApiModelProperty(value = "文件全路径")
		private String fileFullpath;
	/**
	* 文件存储名称
	*/
		@ApiModelProperty(value = "文件存储名称")
		private String storageName;
	/**
	* 业务ID
	*/
		@ApiModelProperty(value = "业务ID")
		private Long busId;
	/**
	 * 业务主键
	 */
	@ApiModelProperty(value = "业务主键")
	private String busPrimarykey;
	/**
	* 存储类型
	*/
		@ApiModelProperty(value = "存储类型")
		private Long storageType;
	/**
	* 描述
	*/
		@ApiModelProperty(value = "描述")
		@TableField(value = "`describe`")
		private String describe;

	/**
	 * 导出数据标识
	 */
	@ApiModelProperty(value = "导出数据标识")
	@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
	private String expSeq;

	/**
	 * 源文件存储路径
	 */
	@ApiModelProperty(value = "源文件存储路径")
	private String originalPath;
}
